package com.nuoniu.sibanyun.entity.vo;


import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Set;

/**
 * @ClassName UserSimpleVo
 * @Description 登录成功后返回的 用户登录信息
 * @Authpr baiqiang
 * @Date 2020/5/7 11:27
 **/
@Data
@Api(tags = "用户登录信息")
public class UserSimpleVo extends BaseEntity {

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("头像")
    private String avatar;

    private Integer companyId;

    private String companyName;

    @ApiModelProperty("角色列表")
    private Set<String> roles;

    @ApiModelProperty("权限列表")
    private Set<String> permissions;

    @ApiModelProperty("产品id")
    private Integer goodsId;

    @ApiModelProperty("产品名称")
    private String goodsName;

    @ApiModelProperty("产品logo")
    private String goodsLogoUrl;
}
